import request from '@/utils/request'

// 查询执行计划列表
export function listPlansemester(query) {
  return request({
    url: '/edu/plansemester/list',
    method: 'get',
    params: query
  })
}

// 查询执行计划详细
export function getPlansemester(id) {
  return request({
    url: '/edu/plansemester/' + id,
    method: 'get'
  })
}

// 新增执行计划
export function addPlansemester(data) {
  return request({
    url: '/edu/plansemester',
    method: 'post',
    data: data
  })
}

// 修改执行计划
export function updatePlansemester(data) {
  return request({
    url: '/edu/plansemester',
    method: 'put',
    data: data
  })
}

// 删除执行计划
export function delPlansemester(id) {
  return request({
    url: '/edu/plansemester/' + id,
    method: 'delete'
  })
}
